package org.leiyang.domains.dtos;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 好友列表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserList implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 注: 用户名不能包含@字符
     */
    private String username;

//    private String password;

    private Integer sex;

    /**
     * 头像图片url
     */
    private String avater;

    /**
     * 历史消息数
     */
    private Integer hMsgCount;
}
